package com.yqfk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yqfk
 * @since 2022-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="YApply对象", description="")
public class YApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "外出申请id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "出发地")
    private String start;

    @ApiModelProperty(value = "终点")
    private String end;

    @ApiModelProperty(value = "开始时间")
    private Date staTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "外出理由")
    private String value;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @TableField(exist = false)
    private YUser yUser;


}
